﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Database" targetNamespace="http://tempuri.org/Database.xsd" xmlns:mstns="http://tempuri.org/Database.xsd" xmlns="http://tempuri.org/Database.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Database" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Database" msprop:Generator_UserDSName="Database">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Questions" msprop:Generator_UserTableName="Questions" msprop:Generator_RowEvArgName="QuestionsRowChangeEvent" msprop:Generator_TableVarName="tableQuestions" msprop:Generator_TablePropName="Questions" msprop:Generator_RowDeletingName="QuestionsRowDeleting" msprop:Generator_RowChangingName="QuestionsRowChanging" msprop:Generator_RowDeletedName="QuestionsRowDeleted" msprop:Generator_RowEvHandlerName="QuestionsRowChangeEventHandler" msprop:Generator_RowChangedName="QuestionsRowChanged" msprop:Generator_TableClassName="QuestionsDataTable" msprop:Generator_RowClassName="QuestionsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="QuestionID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnQuestionID" msprop:Generator_ColumnPropNameInRow="QuestionID" msprop:Generator_ColumnPropNameInTable="QuestionIDColumn" msprop:Generator_UserColumnName="QuestionID" type="xs:int" />
              <xs:element name="QuestionText" msprop:Generator_ColumnVarNameInTable="columnQuestionText" msprop:Generator_ColumnPropNameInRow="QuestionText" msprop:Generator_ColumnPropNameInTable="QuestionTextColumn" msprop:Generator_UserColumnName="QuestionText" type="xs:string" minOccurs="0" />
              <xs:element name="A" msprop:Generator_ColumnVarNameInTable="columnA" msprop:Generator_ColumnPropNameInRow="A" msprop:Generator_ColumnPropNameInTable="AColumn" msprop:Generator_UserColumnName="A" type="xs:string" minOccurs="0" />
              <xs:element name="B" msprop:Generator_ColumnVarNameInTable="columnB" msprop:Generator_ColumnPropNameInRow="B" msprop:Generator_ColumnPropNameInTable="BColumn" msprop:Generator_UserColumnName="B" type="xs:string" minOccurs="0" />
              <xs:element name="C" msprop:Generator_ColumnVarNameInTable="columnC" msprop:Generator_ColumnPropNameInRow="C" msprop:Generator_ColumnPropNameInTable="CColumn" msprop:Generator_UserColumnName="C" type="xs:string" minOccurs="0" />
              <xs:element name="D" msprop:Generator_ColumnVarNameInTable="columnD" msprop:Generator_ColumnPropNameInRow="D" msprop:Generator_ColumnPropNameInTable="DColumn" msprop:Generator_UserColumnName="D" type="xs:string" minOccurs="0" />
              <xs:element name="Correct" msprop:Generator_ColumnVarNameInTable="columnCorrect" msprop:Generator_ColumnPropNameInRow="Correct" msprop:Generator_ColumnPropNameInTable="CorrectColumn" msprop:Generator_UserColumnName="Correct" type="xs:string" minOccurs="0" />
              <xs:element name="Explanation" msprop:Generator_ColumnVarNameInTable="columnExplanation" msprop:Generator_ColumnPropNameInRow="Explanation" msprop:Generator_ColumnPropNameInTable="ExplanationColumn" msprop:Generator_UserColumnName="Explanation" type="xs:string" minOccurs="0" />
              <xs:element name="TimeLimit" msprop:Generator_ColumnVarNameInTable="columnTimeLimit" msprop:Generator_ColumnPropNameInRow="TimeLimit" msprop:Generator_ColumnPropNameInTable="TimeLimitColumn" msprop:Generator_UserColumnName="TimeLimit" type="xs:string" minOccurs="0" />
              <xs:element name="IsInput" msprop:Generator_ColumnVarNameInTable="columnIsInput" msprop:Generator_ColumnPropNameInRow="IsInput" msprop:Generator_ColumnPropNameInTable="IsInputColumn" msprop:Generator_UserColumnName="IsInput" type="xs:string" minOccurs="0" />
              <xs:element name="IsMultichoice" msprop:Generator_ColumnVarNameInTable="columnIsMultichoice" msprop:Generator_ColumnPropNameInRow="IsMultichoice" msprop:Generator_ColumnPropNameInTable="IsMultichoiceColumn" msprop:Generator_UserColumnName="IsMultichoice" type="xs:string" minOccurs="0" />
              <xs:element name="Image" msprop:Generator_ColumnVarNameInTable="columnImage" msprop:Generator_ColumnPropNameInRow="Image" msprop:Generator_ColumnPropNameInTable="ImageColumn" msprop:Generator_UserColumnName="Image" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="QuizInfo" msprop:Generator_TableClassName="QuizInfoDataTable" msprop:Generator_TableVarName="tableQuizInfo" msprop:Generator_TablePropName="QuizInfo" msprop:Generator_RowDeletingName="QuizInfoRowDeleting" msprop:Generator_UserTableName="QuizInfo" msprop:Generator_RowChangingName="QuizInfoRowChanging" msprop:Generator_RowEvHandlerName="QuizInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="QuizInfoRowDeleted" msprop:Generator_RowEvArgName="QuizInfoRowChangeEvent" msprop:Generator_RowChangedName="QuizInfoRowChanged" msprop:Generator_RowClassName="QuizInfoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="QuizName" msprop:Generator_ColumnVarNameInTable="columnQuizName" msprop:Generator_ColumnPropNameInRow="QuizName" msprop:Generator_ColumnPropNameInTable="QuizNameColumn" msprop:Generator_UserColumnName="QuizName" type="xs:string" minOccurs="0" />
              <xs:element name="QuizDescripiton" msprop:Generator_ColumnVarNameInTable="columnQuizDescripiton" msprop:Generator_ColumnPropNameInRow="QuizDescripiton" msprop:Generator_ColumnPropNameInTable="QuizDescripitonColumn" msprop:Generator_UserColumnName="QuizDescripiton" type="xs:string" minOccurs="0" />
              <xs:element name="QuizImage" msprop:Generator_ColumnVarNameInTable="columnQuizImage" msprop:Generator_ColumnPropNameInRow="QuizImage" msprop:Generator_ColumnPropNameInTable="QuizImageColumn" msprop:Generator_UserColumnName="QuizImage" type="xs:string" minOccurs="0" />
              <xs:element name="QuizAuthor" msprop:Generator_ColumnVarNameInTable="columnQuizAuthor" msprop:Generator_ColumnPropNameInRow="QuizAuthor" msprop:Generator_ColumnPropNameInTable="QuizAuthorColumn" msprop:Generator_UserColumnName="QuizAuthor" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Questions" />
      <xs:field xpath="mstns:QuestionID" />
    </xs:unique>
  </xs:element>
</xs:schema>